package com.insigma.business.qrcode.job.service.impl;

import com.insigma.business.qrcode.common.service.SequenceGenerator;
import com.insigma.business.qrcode.job.dao.JobFavoriteDao;
import com.insigma.business.qrcode.job.dto.search.JobFavoriteBSearcher;
import com.insigma.business.qrcode.job.entity.JobFavoriteDO;
import com.insigma.business.qrcode.job.service.JobFavoriteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JobFavoriteServiceImpl implements JobFavoriteService {
    @Autowired(required = false)
    private JobFavoriteDao jobFavoriteDao;
    @Autowired(required = false)
    private SequenceGenerator sequenceGenerator;

    @Override
    public List<JobFavoriteDO> search(JobFavoriteBSearcher jobFavoriteBSearcher) {
        return jobFavoriteDao.search(jobFavoriteBSearcher);
    }
}
